7#import <Foundation/Foundation.h>
11static const NSString *NotificationSDKClient_VERSION =
@"4.36.0";
19- (instancetype)init NS_UNAVAILABLE;
20+ (instancetype)new NS_UNAVAILABLE;
25@property (
class, nonatomic, readonly)
const NSString *
sdkVersion;
38typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType) {
39 NotificationSDKClientNotificationTypeNone = 0,
40 NotificationSDKClientNotificationTypeBadge = 1 << 0,
41 NotificationSDKClientNotificationTypeSound = 1 << 1,
42 NotificationSDKClientNotificationTypeAlert = 1 << 2,
63+ (BOOL)registerNotificationServiceWithNotificationSettings:(NotificationSDKClientNotificationType)notificationType error:(NSError **_Nullable)error;
80+ (NSString *_Nullable)getOneSpanNotificationIdentifier:(NSData *)devToken error:(NSError **_Nullable)error;
89+ (BOOL)isOneSpanNotification:(NSDictionary *)notification;
104+ (NSString *_Nullable)parseOneSpanNotification:(NSDictionary *)notification error:(NSError **_Nullable)error;
113+ (NSString *_Nullable)getTitle:(NSDictionary *)notification;
122+ (NSString *_Nullable)getSubject:(NSDictionary *)notification;
131+ (NSNumber *_Nullable)getBadgeValue:(NSDictionary *)notification;
140+ (NSDictionary<NSString *,NSString *> *_Nullable)getCustomAttributes:(NSDictionary *)notification;
Definition NotificationSDKClient.h:18
typedef NS_OPTIONS(NSUInteger, NotificationSDKClientNotificationType)
Definition NotificationSDKClient.h:38
const NSString * sdkVersion
Definition NotificationSDKClient.h:25